package com.sinosoft.hydra.um.domain.permission;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;
/**
 * 日志错误信息
 * @author Administrator
 *
 */
@Entity
@Table(name="logging_event_exception")
public class SysLogErrorMessage  implements Serializable{
	private static final long serialVersionUID = 1L;
	private String msg;//错误信息
	private Integer indx;
	private String eventId;
	
	/**
	 * 错误信息
	 * @return String
	 */
	@Column(name="trace_line")
	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	/**
	 * 日志主键id
	 * @return Integer
	 */
    @Id
	@Column(name="event_id")
	public String getEventId() {
		return eventId;
	}

	public void setEventId(String eventId) {
		this.eventId = eventId;
	}

	@Column(name="i")
	public Integer getIndx() {
		return indx;
	}
	public void setIndx(Integer indx) {
		this.indx = indx;
	}


	public String toString() {
		return  msg +"\r\n";
	}

}
